package com.scs.application.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * <p>
 * 系统文件上传表
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "文件表")
@TableName("sys_file")
public class File extends DataEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "关联表名称(小写)",
            length = "30",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String refTable;

    @EntityFieldAnnotation(
            text = "关联Id",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String refId;

    @EntityFieldAnnotation(
            text = "文件名",
            length = "50",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String fileName;

    @EntityFieldAnnotation(
            text = "文件路径(res目录开始)",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String filePath;

    @EntityFieldAnnotation(
            length = "30"
    )
    public String creator;


    // creator ,在父类中处理


    // gmt_create ,在父类中处理


    // modifier ,在父类中处理


    // gmt_modified ,在父类中处理

}
